#!/usr/bin/perl ############################################ ## ## ## WebBBS ## ## by Darryl Burgdorf ## ## ## ## Configuration File ## ## ## ############################################ ## (1) Define the location of your files: require "/usr/www/cgi-bin/webbbs.pl"; $dir = "/"; $cgiurl = "http://www.fortunecity.com/underworld/spaceinvader/100/index.cgi"; ## (2) Tailor the appearance and functionality of your BBS: $bodyspec = "BGCOLOR=\"#ffffff\" TEXT=\"#000000\""; $HeadLinesFile = ""; $HeaderFile = "/usr/www/header.txt"; $FooterFile = "/usr/www/footer.txt"; $MessageHeaderFile = ""; $MessageFooterFile = ""; $DefaultType = ""; $DefaultTime = ""; $boardname = "The World of Carmageddon Message Board"; $InputColumns = 80; $InputRows = 15; $HourOffset = 0; $ArchiveOnly = 0; $AllowHTML = 1; $AutoQuote = 1; $SingleLineBreaks = 0; $UseCookies = 0; require "/usr/www/cgi-bin/cookie.lib"; $UseAdmin = 1; $Max_Days = 10; $Max_Messages = 999; $ArchiveDir = ""; ## (3) Define your visitors' capabilities: $AllowUserDeletion = 0; $AllowEmailNotices = 0; $AllowPreview = 1; $AllowURLs = 1; $AllowPics = 1; $NaughtyWords = ""; ## (4) Define your e-mail notification features: $mailprog = '/usr/sbin/sendmail'; $maillist_address = "[email protected]"; $email_list = 1; $HeaderOnly = 0; $AdminEmail = 1; &WebBBS; ## (5) If necessary, set up the WebAdverts configuration subroutine sub insertadvert { require "/full/path/to/ads_display.pl"; $adverts_dir = "/full/path/to/ads"; $display_cgi = "http://foo.com/ads/ads.pl"; $advertzone = $_[0]; $ADVUseLocking = 1; $ADVLogIP = 0; $NonSS